package com.youxue.service;

import com.youxue.entity.UserFabulous;
import com.youxue.entity.UserFabulousKey;

import java.util.List;

/**
 * Created by 15c on 2018/2/10.
 */
public interface UserFabulousService {
    /**
     * 查询点赞记录
     * @param userFabulousKey
     * @return
     */
    UserFabulous show(UserFabulousKey userFabulousKey);

    /**
     * 添加点赞
     * @param userFabulous
     * @return
     */
    int add(UserFabulous userFabulous);

    /**
     * 查询一个用户所有点赞列表
     * @param userId
     * @return
     */
    List<UserFabulous> showAUserAllFabulous(Integer userId);
}
